﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WaterRevenueMS.Componnent.Entities.BaseData;
using WaterRevenueMS.Componnent.Common;
using WaterRevenueMS.Domain.ViewModels.BaseData.Area;

namespace WaterRevenueMS.Core.Service.BaseData
{
    public interface IAreaService
    {
        IQueryable<Area> Areas { get; }

        OperationResult Insert(AreaModel model);

        OperationResult Update(AreaModel model);

        /// <summary>
        /// 逻辑删除
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        OperationResult Delete(int Id);
    }
}
